package com.miracle.blog.dao;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miracle.blog.dto.UniqueViewDTO;
import com.miracle.blog.entity.UniqueView;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UniqueViewDao extends BaseMapper<UniqueView> {
    List<UniqueViewDTO> listUniqueViews(DateTime startTime, DateTime endTime);
}
